package com.java.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import com.java.entity.event.SuggestInfoEvent;
import com.java.service.GuidanceService;
import com.java.service.ShareService;
import com.java.service.SugarService;
import com.java.service.SuggestService;

@RestController
public class WebController {
	@Autowired private SugarService sugarService;
	@Autowired private ShareService shareService;
	@Autowired private GuidanceService guidanceService;
	@Autowired private SuggestService suggestService;
	
	@PostMapping("/getSuggestOne")
	public SuggestInfoEvent getSuggestOne() {
		return suggestService.getSuggestOne();
	}

}
